package com.wuming.caiwu.util;

import java.util.regex.Pattern;

public class NumberUtil {

    private static Pattern NUMBER_PATTERN = Pattern.compile("^[-\\+]?[\\d]*$");

    public static boolean isInteger(String str) {
        return NUMBER_PATTERN.matcher(str).matches();
    }
}
